adplus-dvertising
frame-decoration

Question

What exception is thrown if the protocol supported by URI prefix is invalid?

a.

URLNotFound

b.

URLSourceNotFound

c.

UriFormatException

d.

NotSupportedException

Posted under C# programming

Answer: (d).NotSupportedException

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What exception is thrown if the protocol supported by URI prefix is invalid?

Similar Questions

Discover Related MCQs

Q. What exception is thrown if the user does not have a proper authorization?

Q. Choose the exceptions generated by the Create() method defined by WebRequest:

Q. Choose the exceptions generated by the GetReponse() method defined by WebRequest:

Q. Select the properties related to the network errors generated by WebException:

Q. Which of these classes is used for operating on the request from the client to the server?

Q. Choose the exceptions generated by the GetResponseStream() method defined by WebRequest:

Q. Which of these classes is used to create servers that listen to either local or remote client programs?

Q. Which of these methods gives the full URL of an URL object?

Q. Why are generics used?

Q. Which of these is an correct way of defining generic method?

Q. Select the type argument of open constructed type?

Q. Pointer variable is used to hold the _________ of the variable.

Q. Which among the given operators is referred to as ‘address of’ operator?

Q. Choose the correct statement among the given statements?

Q. What is the size of a char pointer?

Q. After incrementing a float pointer ptr by 1 it would be incremented by __________

Q. Which of the following job is done by the instruction ++*p for an integer pointer p?

Q. Which among the following is referred as an array of pointers?

Q. Among the given pointer which of following cannot be incremented?

Q. How many values can be returned from a function simultaneously using pointers?