예제 #1
0
    public SampleServiceClient() :
        base(SampleServiceClient.GetDefaultBinding(), SampleServiceClient.GetDefaultEndpointAddress())
    {
        this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding.ToString();

        ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
    }