コード例 #1
0
ファイル: Reference.cs プロジェクト: andead/wcf-chat
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(ChatServiceClientBase.GetEndpointAddress(EndpointConfiguration.NetTcpBinding_IChatService));
 }
コード例 #2
0
ファイル: Reference.cs プロジェクト: andead/wcf-chat
 public ChatServiceClientBase(System.ServiceModel.InstanceContext callbackInstance, EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(callbackInstance, ChatServiceClientBase.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
コード例 #3
0
ファイル: Reference.cs プロジェクト: andead/wcf-chat
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(ChatServiceClientBase.GetBindingForEndpoint(EndpointConfiguration.NetTcpBinding_IChatService));
 }
コード例 #4
0
ファイル: Reference.cs プロジェクト: andead/wcf-chat
 public ChatServiceClientBase(System.ServiceModel.InstanceContext callbackInstance) :
     base(callbackInstance, ChatServiceClientBase.GetDefaultBinding(), ChatServiceClientBase.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.NetTcpBinding_IChatService.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }