Class CSHTML5_ClientBase<TChannel>.ChannelBase<T>
Generic ChannelBase class.
Inheritance
System.Object
CSHTML5_ClientBase<TChannel>.ChannelBase<T>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.ServiceModel
Assembly: OpenSilver.dll
Syntax
[NotImplemented]
protected class ChannelBase<T>
where T : class
Type Parameters
Name | Description |
---|---|
T |
Constructors
| Improve this Doc View SourceChannelBase(CSHTML5_ClientBase<T>)
Initializes a new instance of the System.ServiceModel.ClientBase`1.ChannelBase`1 class from an existing instance of the class.
Declaration
[NotImplemented]
protected ChannelBase(CSHTML5_ClientBase<T> client)
Parameters
Type | Name | Description |
---|---|---|
CSHTML5_ClientBase<T> | client | The object used to initialize the new instance of the class. |
Methods
| Improve this Doc View SourceBeginInvoke(String, Object[], AsyncCallback, Object)
Starts an asynchronous call of a specified method by name.
Declaration
[NotImplemented]
protected IAsyncResult BeginInvoke(string methodName, object[] args, AsyncCallback callback, object state)
Parameters
Type | Name | Description |
---|---|---|
System.String | methodName | The name of the method to be called asynchronously. |
System.Object[] | args | An array of arguments for the method invoked. |
System.AsyncCallback | callback | The System.AsyncCallback delegate. |
System.Object | state | The state object. |
Returns
Type | Description |
---|---|
System.IAsyncResult | The System.IAsyncResult that references the asynchronous method invoked. |
EndInvoke(String, Object[], IAsyncResult)
Completes an asynchronous invocation by name of a specified method.
Declaration
[NotImplemented]
protected object EndInvoke(string methodName, object[] args, IAsyncResult result)
Parameters
Type | Name | Description |
---|---|---|
System.String | methodName | The name of the method called asynchronously. |
System.Object[] | args | An array of arguments for the method invoked. |
System.IAsyncResult | result | The result returned by a call. |
Returns
Type | Description |
---|---|
System.Object | The System.Object output by the method invoked. |