GetObjectData Method

See Also

AuthorizationException Class  | AuthorizationException Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

JScript

Show All

info
The SerializationInfo that holds the serialized object data about the exception being thrown.
context
The StreamingContext that contains contextual information about the source or destination.
See Also Requirements Languages WeOnlyDo.Client.FTP Send comments on this topic.

GetObjectData Method

When overridden in a derived class, sets the SerializationInfo with information about the exception.

[Visual Basic]
Public Overridable Sub GetObjectData( _    ByVal info As SerializationInfo, _    ByVal context As StreamingContext _ )
[C#]
public virtual void GetObjectData(    SerializationInfo info,    StreamingContext context );
[JScript]
public function GetObjectData(    info : SerializationInfo,    context : StreamingContext );

Parameters

info
The SerializationInfo that holds the serialized object data about the exception being thrown.
context
The StreamingContext that contains contextual information about the source or destination.

Exceptions

ExceptionDescription
ArgumentNullExceptionThe info parameter is a null reference (Nothing in Visual Basic).

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

AuthorizationException Class  | AuthorizationException Members

 

 


© WeOnlyDo Software. All Rights Reserved.