System.Net.HttpWebRequest.BeginGetRequestStream C# (CSharp) Метод

BeginGetRequestStream() публичный Метод

public BeginGetRequestStream ( System callback, object state ) : System.IAsyncResult
callback System
state object
Результат System.IAsyncResult
        public override System.IAsyncResult BeginGetRequestStream(System.AsyncCallback callback, object state) { throw null; }
        public override System.IAsyncResult BeginGetResponse(System.AsyncCallback callback, object state) { throw null; }

Same methods

HttpWebRequest::BeginGetRequestStream ( AsyncCallback callback, Object state ) : IAsyncResult

Usage Example

Пример #1
3
 public void PostRegisterInfoAsync(RegisterInfo registerInfo)
 {
     _requestState = new RequestState();
     _registerInfo = registerInfo;
     _httpWebRequest = (HttpWebRequest)WebRequest.Create(_registerURL);
     _timer.Start();
     _requestState.request = _httpWebRequest;
     _httpWebRequest.Method = "POST";
     _httpWebRequest.ContentType = "application/x-www-form-urlencoded";
     _httpWebRequest.BeginGetRequestStream(new AsyncCallback(RequestCallback), _httpWebRequest);
 }
All Usage Examples Of System.Net.HttpWebRequest::BeginGetRequestStream