System.ServiceModel.Description.ServiceEndpoint.ServiceEndpoint C# (CSharp) Method

ServiceEndpoint() public method

public ServiceEndpoint ( ContractDescription contract, Binding binding, EndpointAddress address ) : System
contract ContractDescription
binding Binding
address EndpointAddress
return System
		public ServiceEndpoint(ContractDescription contract,
			Binding binding, EndpointAddress address)
		{
			if (contract == null)
				throw new ArgumentNullException ("contract");

			this.contract = contract;
			this.binding = binding;
			this.address = address;
			behaviors = new KeyedByTypeCollection<IEndpointBehavior> ();
		}

Same methods

ServiceEndpoint::ServiceEndpoint ( ContractDescription contract ) : System