Share via


UserInfoHeader.Context Property

UserInfoHeader.Context Property

Defines the country/region context (CountryRegionContext object) that is associated with a request.


Public Context As CountryRegionContext


[C#]

public CountryRegionContext Context;

Remarks

Example

[Visual Basic]

' Set the country context of the find service to Canada
Dim myUserInfoFindHeader As New UserInfoFindHeader()
myUserInfoFindHeader.Context = New CountryRegionContext()
myUserInfoFindHeader.Context.EntityID = 39
findService.UserInfoFindHeaderValue = myUserInfoFindHeader



[C#]

//Set the country context of the find service to Canada
UserInfoFindHeader myUserInfoFindHeader  = new UserInfoFindHeader();
myUserInfoFindHeader.Context = new CountryRegionContext();
myUserInfoFindHeader.Context.EntityID = 39;
findService.UserInfoFindHeaderValue = myUserInfoFindHeader;


See Also

  UserInfoHeader Class   |   CountryRegionContext Class   |   UserInfoRouteHeader Class   |   RouteServiceSoap Class