PSCredential.GetObjectData Method

Populates an object with the data needed to serialize the PSCredential.


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)

'Usage
Dim instance As PSCredential
Dim info As SerializationInfo
Dim context As StreamingContext

instance.GetObjectData(info, context)

public void GetObjectData (
	SerializationInfo info,
	StreamingContext context
)
public final void GetObjectData (
	SerializationInfo info, 
	StreamingContext context
)
public final function GetObjectData (
	info : SerializationInfo, 
	context : StreamingContext
)

Parameters

info

The serialization information.

context

The streaming context.

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

 

Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft