System::Net::WebRequest::CreateHttp मेथड

WebRequest::CreateHttp(String) method

निर्दिष्ट URI का उपयोग करके WebRequest क्लास का नया इंस्टेंस बनाता है।

static System::SharedPtr<HttpWebRequest> System::Net::WebRequest::CreateHttp(String requestUriString)
पैरामीटरप्रकारविवरण
requestUriStringStringWebRequest क्लास का नया इंस्टेंस बनाने के लिए उपयोग किया जाने वाला URI।

ReturnValue

एक नया बनाया गया WebRequest-क्लास इंस्टेंस।

टिप्पणियाँ

जब निर्दिष्ट URI किसी भी स्कीम से शुरू होता है, सिवाय http:// या https:// के, तो NotSupportedException फेंका जाएगा।

संबंधित देखें

WebRequest::CreateHttp(System::SharedPtr<Uri>) method

निर्दिष्ट URI का उपयोग करके WebRequest क्लास का नया इंस्टेंस बनाता है।

static System::SharedPtr<HttpWebRequest> System::Net::WebRequest::CreateHttp(System::SharedPtr<Uri> requestUri)
पैरामीटरप्रकारविवरण
requestUriSystem::SharedPtr<Uri>WebRequest क्लास का नया इंस्टेंस बनाने के लिए उपयोग किया जाने वाला URI।

ReturnValue

एक नया बनाया गया WebRequest-क्लास इंस्टेंस।

टिप्पणियाँ

जब निर्दिष्ट URI किसी भी स्कीम से शुरू होता है, सिवाय http:// या https:// के, तो NotSupportedException फेंका जाएगा।

संबंधित देखें