Rob Schneider is defending his comedy after being asked to end his set early during a fundraiser in June.

Audience members at a fundraiser for the Hospitals of Regina Foundation in Canada left in protest, many of them "yelling" at Schneider for what they considered to be controversial remarks.

The comedian (who is also singer Elle King's father) believes that that kind of disapproval is an indication he's "doing it right."

ROB SCHNEIDER SAYS 'SNL' WAS 'OVER' AFTER KATE MCKINNON'S PERFORMANCE OF 'HALLELUJAH' AS HILLARY CLINTON

Rob Schneider in a top hat and navy suit performs on stage

Rob Schneider says, "Free speech is the speech that challenges you." (Michael Tullberg/Getty Images)

LIKE WHAT YOU’RE READING? CLICK HERE FOR MORE ENTERTAINMENT NEWS

"The thing about free speech is, free speech is all speech. Free speech isn’t for the nice stuff. It isn’t for the socially acceptable stuff. Free speech is the speech that challenges you," he told The Hollywood Reporter at the premiere of his pal Adam Sandler's new Netflix comedy special in New York.

"Free speech is the not-nice stuff. Easy speech or speech that’s acceptable to everybody doesn’t need any protection. I’m there to challenge the audience," he explained.

Dan Bulla in a black suit and tie smiles on the carpet next to Ronald Bronstein in a blue button down shirt and jeans next to Adam Sandler in a yellow patterned shirt next to Josh Safdie in a striped black and white shirt and black suit next to Rob Schneider in a matching blue suit and top hat

From left: Dan Bulla, Ronald Bronstein, Adam Sandler, Josh Safdie and Rob Schneider pose at the premiere of Sandler's new Netflix comedy special, "Adam Sandler: Love You" on Tuesday. (Roy Rochlin/Getty Images for Netflix)

CLICK HERE TO SIGN UP FOR THE ENTERTAINMENT NEWSLETTER

Schneider argued that "challenging" comedy is what indicates if you're successful or not.

"People get upset about things now. And that’s OK," Schneider added. "I think the more challenging the comedy is and society is, the more interesting the stand-up and art is going to be.

"When everything’s smooth, art is boring. So the ’90s could have been kind of boring, but this is a good time now, and it’s a challenging time."

Rob Schneider in a dark navy jacket and printed blue shirt sitting on a chair

Rob Schneider doesn't regret anything about the Canadian fundraiser incident. (Slaven Vlasic/Getty Images)

Schneider also talked to the outlet about how "lovely" it is that Sandler, his friend and fellow comedian, "always includes me." He told THR that Sandler called him, asked him to "come out here," and "the next thing you know" Schneider was performing with him for his "Love You" comedy special.

Sandler and Schneider have co-starred in a number of movies together over the years, including "Grown Ups," "The Waterboy" and "Big Daddy."

David Spade, Chris Rock, Adam Sandler, Kevin James and Rob Schneider attend the premiere of "Grown Ups"

From left: David Spade, Chris Rock, Adam Sandler, Kevin James and Rob Schneider attend the premiere of "Grown Ups" in 2010. (Jamie McCarthy/WireImage)

CLICK HERE TO GET THE FOX NEWS APP