Compartilhar via


WebDomainClient<TContract>.ChannelFactory Property

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Gets the channel factory that is used to create channels for communication with the server.

Namespace:  System.ServiceModel.DomainServices.Client
Assembly:  System.ServiceModel.DomainServices.Client.Web (in System.ServiceModel.DomainServices.Client.Web.dll)

Syntax

'Declaration
Public ReadOnly Property ChannelFactory As ChannelFactory(Of TContract)
    Get
'Usage
Dim instance As WebDomainClient
Dim value As ChannelFactory(Of TContract)

value = instance.ChannelFactory
public ChannelFactory<TContract> ChannelFactory { get; }
public:
property ChannelFactory<TContract>^ ChannelFactory {
    ChannelFactory<TContract>^ get ();
}
member ChannelFactory : ChannelFactory<'TContract>
function get ChannelFactory () : ChannelFactory<TContract>

Property Value

Type: System.ServiceModel.ChannelFactory<TContract>
The channel factory that is used to create channels for communication with the server.

See Also

Reference

WebDomainClient<TContract> Class

System.ServiceModel.DomainServices.Client Namespace