SoapToken Constructors

Definition

Initializes a new instance of the SoapToken class.

Overloads

SoapToken()

Initializes a new instance of the SoapToken class.

SoapToken(String)

Initializes a new instance of the SoapToken class with an XML token.

SoapToken()

Initializes a new instance of the SoapToken class.

public:
 SoapToken();
public SoapToken ();
Public Sub New ()

Applies to

SoapToken(String)

Initializes a new instance of the SoapToken class with an XML token.

public:
 SoapToken(System::String ^ value);
public SoapToken (string value);
new System.Runtime.Remoting.Metadata.W3cXsd2001.SoapToken : string -> System.Runtime.Remoting.Metadata.W3cXsd2001.SoapToken
Public Sub New (value As String)

Parameters

value
String

A String that contains an XML token.

Exceptions

One of the following:

  • value contains invalid characters (0xD or 0x9).

  • value [0] or value [ value.Length - 1] contains white space.

  • value contains any spaces.

Applies to