Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

EndpointReference Class

.NET Framework 4.6 and 4.5

Represents a wsa:EndpointReference element.

System.Object
  System.IdentityModel.Protocols.WSTrust.EndpointReference

Namespace:  System.IdentityModel.Protocols.WSTrust
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public class EndpointReference

The EndpointReference type exposes the following members.

  NameDescription
Public methodEndpointReferenceInitializes a new instance of the EndpointReference class with the specified URI.
Top

  NameDescription
Public propertyDetailsGets a collection of the XML elements that are contained in the endpoint reference. The wsa:Address element is not included in the collection.
Public propertyUriGets the URI that specifies the address of the endpoint reference.
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodStatic memberReadFrom(XmlDictionaryReader)Reads a wsa:EndpointReference element from the specified XML dictionary reader.
Public methodStatic memberReadFrom(XmlReader)Reads a wsa:EndpointReference element from the specified XML reader.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodWriteToWrites the EndpointReference as a <wsa:EndpointReference> element to the specified XML writer.
Top

The wsa:EndpointReference element can be used in wst:OnBehalfOf and wp:AppliesTo elements inside of a wsp:RequestSecurityToken element to specify an endpoint reference.

Supports either the WS-Addressing standard schema namespace (http://schemas.xmlsoap.org/ws/2004/08/addressing) or the WS-Addressing 1.0 schema namespace (http://www.w3.org/2005/08/addressing) when reading. On write only the WS-Addressing 1.0 namespace (http://www.w3.org/2005/08/addressing) is supported.

For more information about the wsa:EndpointReference element, see the Web Services Addressing – Core specification. For more information about its use in WS-Trust protocols, see the version of the WS-Trust specification that applies to your scenario.

.NET Framework

Supported in: 4.6, 4.5

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft