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!

IContextProperty.IsNewContextOK

Returns a Boolean indicating whether the context property is ok with the new context.

[Visual Basic]
Function IsNewContextOK( _
   ByVal newCtx As Context _
) As Boolean
[C#]
bool IsNewContextOK(
   Context newCtx
);
[C++]
bool IsNewContextOK(
   Context* newCtx
) = 0;
[JScript]
function IsNewContextOK(
   newCtx : Context
) : Boolean;

Parameters

newCtx
The new Context in which the ContextProperty has been created.

Return Value

true if the context property is ok with the new context; otherwise, false.

Remarks

Once all the context properties have been added to the new context, they are all asked whether they are OK in the new context. The context property could look at the other context properties from the parameter new context and determine whether it is ok coexisting with these other context properties. Returns false if not ok in the context.

See Also

IContextProperty Interface | IContextProperty Members | System.Runtime.Remoting Namespace