NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ParameterBuilder.SetMarshal

Specifies the marshalling for this parameter.

[Visual Basic]
Overridable Public Sub SetMarshal( _
   ByVal unmanagedMarshal As UnmanagedMarshal _
)
[C#]
public virtual void SetMarshal(
   UnmanagedMarshal unmanagedMarshal
);
[C++]
public: virtual void SetMarshal(
   UnmanagedMarshal* unmanagedMarshal
);
[JScript]
public function SetMarshal(
   unmanagedMarshal : UnmanagedMarshal
);

Parameters

unmanagedMarshal
The marshalling information for this parameter.

Exceptions

Exception Type Condition
ArgumentNullException if unmanagedMarshal is a null reference (in Visual Basic Nothing)

Remarks

Should throw the following exception but currently does not:

InvalidOperationException if the containing type has been created using TypeBuilder.CreateType().

See Also

ParameterBuilder Class | ParameterBuilder Members | System.Reflection.Emit Namespace