//public class SendLogEntryEventState //{ // public object previousState; // public SendLogEntryEventAsyncStub asyncStub; //} public IAsyncResult BeginSendLogEntryEvent(LE.Jetstream request, AsyncCallback callback, Object state) { _sendLogEntryEventAsync = new SendLogEntryEventAsync(SendLogEntryEvent); //SendLogEntryEventState es = new SendLogEntryEventState(); //es.previousState = state; //es.asyncStub = stub; //return stub.BeginInvoke(request, callback, es); return _sendLogEntryEventAsync.BeginInvoke(request, callback, state); }
public IAsyncResult BeginSendLogEntryEvent(LE.Jetstream request, AsyncCallback callback, Object state) { _sendLogEntryEventAsync = SendLogEntryEvent; return _sendLogEntryEventAsync.BeginInvoke(request, callback, state); }